package org.example.demo01.repository;


import org.example.demo01.entity.Process;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ProcessRepository extends JpaRepository<Process, Long> {
    List<Process> findByPid(String pid);

    Process findByPidAndWsid(java.lang.String pid, java.lang.String wsid);
}